package com.hejia.alauda.entity;

import javax.persistence.Column;

public class Warning extends BaseEntity {

	private static final long serialVersionUID = 1L;

	// 24小时：ALLDAY；非24小时：NOTALLDAY
	public enum Warntype {
		AllDay, NotAllDay;
	}

	@Column(length = 20)
	private String phoneNum;// 预警负责人电话

	@Column(length = 20)
	private Warntype warntype;

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public Warntype getWarntype() {
		return warntype;
	}

	public void setWarntype(Warntype warntype) {
		this.warntype = warntype;
	}

}
